package com.ruoyi.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Value;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 最爱喝兽奶
 * @create 2022/7/31
 **/
@Data
@ApiModel("章节信息对象")
@TableName("T_CHAPTER_INFO")
public class ChapterInfo implements Serializable {


    @TableId(type = IdType.AUTO)
    private String id;

    /**
     * 章节名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 章节所对应的课程id
     */
    @TableField(value = "course_id")
    private String courseId;

    /**
     * 章节详情
     */
    @TableField(value = "info")
    private String info;

    /**
     * 章节数
     */
    @TableField(value = "lesson_number")
    private Long lessonNumber;

    @TableField(value = "video_number")
    private Long videoNumber;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

}
